package com.zp.mvppractice.mvp1;

import com.zp.mvppractice.App;
import com.zp.mvppractice.io.OnDoListener;

import io.reactivex.disposables.Disposable;

/**
 * Created by izp on 2017/7/8.
 */

public class Mvp1Presenter extends BasePresenter<Mvp1View> {

    public void doAction(){
        App.getDataCenter().login2(new OnDoListener() {
            @Override
            public void onSuccess(String content) {

            }

            @Override
            public void onSuccess(Object content) {

            }

            @Override
            public void onComplete() {

            }

            @Override
            public void onFail(Throwable throwable) {

            }

            @Override
            public void onStart(Disposable disposable) {

            }
        });
    }
}
